
import type { LowCodeConf, LowcodeMenuItemCFG, LowcodePagePanelComponentItem, LowcodeRect, LowCodeWhereListItem } from "../interface";

export interface FetchMdBillListDataProxy {
  isOnLoad?: boolean;
}

export interface MdBillListState {
  mdCode?: string;
  detailMdCode?: string;
  mdListData?: any[];
  // cardTitleField?: string;
  listColumns?: LowcodePagePanelComponentItem[][];
  systemInfo?: any;
  menusCFG?: LowcodeMenuItemCFG[];
  menusCFGMore?: any[];
  navWrapRect?: LowcodeRect;
  searchCardData?: { [key: string]: any };
  fuzzyVal?: string;
  whereList?: LowCodeWhereListItem[];
  // listColumnsConf?: { [key: string]: LowcodePagePanelComponentItem }
  cellProps?: { [key: string]: any };
  enableApprove?: boolean;
}

export interface FetchMdBillListReq {
  BillMode?: number;
  PageSize?: number;
  CurrentPage?: number;
  IsNotPage?: boolean;
  AggregateList?: object[];
  WhereList?: LowCodeWhereListItem[];
}

export interface FetchMdBillListRes {
  AggregateObject?: object[];
  CurrentPage?: number;
  ErrorString?: string;
  PageCount?: number;
  PageSize?: number
  ReturnObject?: any[];
  RowsCount?: number;
}
